package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCatService {
    /*添加购物车*/
    void addShoppingCat(ShoppingCartDTO shoppingCatDTO);

    /*查看购物车*/
    List<ShoppingCart> showShoppingCat();

    /*清空购物车*/
    void deleteShoppingCat();

    /*删除购物车中的某个商品*/
    void sub(ShoppingCartDTO shoppingCatDTO);
}
